System and method for handling electronic mail mismatches

ABSTRACT

A system and method for handling e-mail address mismatches between the address contained within a user&#39;s certificate or certificate chain, and the account address actually being used is disclosed. In order to resolve address mismatches a canonical or generic domain name or user name may, for example, be used as a lifelong address of a user that is contained in the user&#39;s certificate. Upon detection of an address mismatch, the system and method disclosed herein may automatically re-check the certificate or search for a certificate containing the canonical or generic domain name and/or user name to attempt to resolve the mismatch.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of prior U.S. patent application Ser. No. 13/672,073, filed on Nov. 8, 2012, which is a continuation of prior U.S. patent application Ser. No. 12/896,224, filed on Oct. 1, 2010, which has issued to U.S. Pat. No. 8,312,165, which is a continuation of prior U.S. patent application Ser. No. 11/473,313, filed on Jun. 23, 2006, which has issued to U.S. Pat. No. 7,814,161. The entire contents of U.S. patent application Ser. No. 11/473,313, U.S. patent application Ser. No. 12/896,224 and U.S. patent application Ser. No. 13/672,073 are hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates generally to the processing of secure electronic messages and information. In particular, the instant disclosure is directed to a system and method for resolving mismatches that may occur between, for example, an e-mail address contained in the certificate of a sender or recipient of an electronic message, and the e-mail address actually used in the sender or recipient field of an e-mail.

RELATED ART

Exchanging secured electronic messages and data, such as, for example, e-mail messages, is well known. Secure electronic messaging may involve the use of digital signatures, encryption, or the like. For example, a recipient of an electronic message may verify that the sender of an electronic message is trusted by comparing the address of the sender to an address that may be contained in a certificate or certificate chain of the sender.

Some organizations, such as, for example, government agencies like the Department of Defense, are moving to systems in which a user has an e-mail address that they will keep for the life of their tenure with that organization. This sort of lifelong address will typically be contained within the user's certificate. As a user moves around within the organization, the address for their account may change, for example, based on location. For example, the lifelong address may appear as John.Doe@agency.gov, while the address being used when the user is working at a particular site within the organization may change to reflect the location of the user, for example, John.Doe@locationA.agency.gov. Thus, in this example, as John Doe moves about throughout the agency, the lifelong address of John Doe will not change, but John Doe's outlook address may change based on John Doe's location.

This arrangement can create many problems with signed electronic messages, such as, for example, S/MIME, because it depends on the e-mail address found in the user's certificate matching the e-mail address of the account for verification. In this example, if someone wants to send an e-mail to John Doe when he is stationed at location A, the system would search for the certificate containing the address John.Doe@locationA.agency.gov, but the address contained in John Doe's lifelong certificate is John.Doe@agency.gov. This difference will result in a mismatch. Similarly, if John Doe were to send a signed e-mail to someone, when the recipient attempts to verify it, the recipient will see the originating address is John.Doe@locationA.agency.gov, but the address in the certificate is John.Doe@agency.gov. Again, this will result as an e-mail mismatch error.

What is needed is a system and method for resolving the potential mismatch errors, for example, those that might occur in organizations that use lifelong e-mail addresses and shorter term addresses that are used as the user moves around within the organization.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects and advantages of exemplary embodiments of the present invention will be better understood and appreciated in conjunction with the following detailed description of exemplary embodiments taken together with the accompanying drawings, in which:

FIG. 1 is an overall system wide schematic view of an exemplary wireless e-mail communication system incorporating a mobile wireless communications device in accordance with an exemplary embodiment of the present invention;

FIG. 2 is a block diagram of a further exemplary communication system including multiple networks and multiple mobile communication devices;

FIG. 3 is an abbreviated schematic diagram of hardware included within an exemplary mobile wireless communications device;

FIG. 4 is an abbreviated schematic functional diagram of the hardware/software utilized in an exemplary mobile wireless communication device in the exemplary embodiment of FIG. 1;

FIG. 5 is an exemplary abbreviated flow diagram of a method used in a system for handling electronic mail mismatches in a recipient address;

FIG. 6 is another exemplary abbreviated flow diagram of a method used in a system for handling electronic mail mismatches in a recipient address;

FIG. 7 is an exemplary abbreviated flow diagram of a method used in a system for handling electronic mail mismatches in a sender's address;

FIG. 8 is another exemplary abbreviated flow diagram of a method used in a system for handling electronic mail mismatches in a sender's address; and

FIG. 9 is an exemplary screen shot illustrating an exemplary administrator screen that may be used to assign a generic or canonical name to a user's certificate.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

In view of the foregoing, we have now identified an efficient, accurate and easy to implement system and method for handling e-mail address mismatches between the address contained within a user's certificate or certificate chain, and the account address actually being used. In order to resolve address mismatches one or more canonical, e.g., generic, domain name(s) may, for example, be used as a lifelong address of a user that is contained in the user's certificate. Upon detection of an address mismatch, the system and method disclosed herein may automatically re-check the certificate or search for a certificate containing the canonical or generic domain or user name to attempt to resolve the mismatch. This mismatch resolution is preferably transparent to the user and occurs automatically. The canonical or generic domain or user names that are available to the device may be typically controlled by IT policy that is in place on the system for the device. While this system is suitable for any type of electronic messaging system, it has particular applicability to systems that use mobile wireless communication devices with electronic messaging capability.

According to an exemplary embodiment, if a search for a recipient's certificate, or when performing an address mismatch check when receiving a signed message, a canonical or generic domain name may be included in the search. Thus, if someone is trying to send an e-mail to John.Doe@locationA.agency.gov, and a matching certificate is not found, the search may be retried using a canonical or generic domain name, such as, for example, John.Doe@agency.gov. The system may be preferably configured to automatically retry a certificate search of a recipient using the canonical or generic domain name, or in the case of an address mismatch when attempting to verify a received message, retry the check substituting the canonical or generic domain name(s). A faster and perhaps even more efficient approach when searching for a certificate or attempting to resolve a mismatch, is to automatically check certificates for both the address of the account being used and canonical or generic domain name simultaneously, and transparently provide the user with the matching result. While it is preferred in this example to perform these certificate checks at the device level, it is also envisioned that a server or service resident on a server within the system, such as, for example, an e-mail server may perform these checks thereby increasing the speed and efficiency of the search, while alleviating processor overhead of the device. As with the device, a server-based implementation, the canonical or generic domain names that are available to the device via the server may be typically controlled by IT policy that is in place on the system.

According to another exemplary embodiment, the system may be configured to search for a generic name that includes canonical or generic user name(s) in place of (or in addition to) a canonical or generic domain name to search for a certificate or to resolve a mismatch. Typically, e-mail addresses are composed of two main parts—the user name and the domain name, for example, user name@domain name. The examples set forth above are described with respect to using a canonical or generic domain name when searching for a certificate or when attempting to resolve a mismatch. However, it is also contemplated that a canonical or generic user name may be used to search for a certificate or resolve a mismatch. For example, the user name may change as an employee moves or is assigned to different departments within an agency. For instance, the lifelong address may be John.Doe@agency.gov, but the user name may change as John Doe is assigned to different offices or departments within the agency, for example,

-   -   John.Doe_Legal@agency.gov,     -   John.Doe_accounting@agency.gov,     -   John.Doe_Solicitor@agency.gov, etc.

In this example, to search for a certificate or to resolve a mismatch, the system may utilize a canonical or generic user name, e.g., by truncating the portion of the user name following the underscore in the examples set forth above. The system administrator would be able to set the rules for using canonical or generic user names or domain names based on the structure of the address via IT policy.

In yet a further exemplary implementation, using a combination of canonical or generic domain names and user names to search for a certificate or to resolve a mismatch may also be used to provide a more robust solution.

FIG. 1 is an overview of an example communication system in which a wireless communication device may be used. One skilled in the art will appreciate that there may be hundreds of different topologies, but the system shown in FIG. 1 helps demonstrate the operation of the encoded message processing systems and methods described in the present application. There may also be many message senders and recipients. The simple system shown in FIG. 1 is for illustrative purposes only, and shows perhaps the most prevalent Internet e-mail environment where security is not generally used.

FIG. 1 shows an e-mail sender 10, the Internet 20, a message server system 40, a wireless gateway 85, wireless infrastructure 90, a wireless network 105 and a mobile communication device 100.

An e-mail sender system 10 may, for example, be connected to an ISP (Internet Service Provider) on which a user of the system 10 has an account, located within a company, possibly connected to a local area network (LAN), and connected to the Internet 20, or connected to the Internet 20 through a large ASP (application service provider) such as America Online (AOL). Those skilled in the art will appreciate that the systems shown in FIG. 1 may instead be connected to a wide area network (WAN) other than the Internet, although e-mail transfers are commonly accomplished through Internet-connected arrangements as shown in FIG. 1.

The message server 40 may be implemented, for example, on a network computer within the firewall of a corporation, a computer within an ISP or ASP system or the like, and acts as the main interface for e-mail exchange over the Internet 20. Although other messaging systems might not require a message server system 40, a mobile device 100 configured for receiving and possibly sending e-mail will normally be associated with an account on a message server. Perhaps the two most common message servers are Microsoft Exchange™ and Lotus Domino™.

These products are often used in conjunction with Internet mail routers that route and deliver mail. These intermediate components are not shown in FIG. 1, as they do not directly play a role in the secure message processing described below. Message servers such as server 40 typically extend beyond just e-mail sending and receiving; they also include dynamic database storage engines that have predefined database formats for data like calendars, to-do lists, task lists, e-mail and documentation.

The wireless gateway 85 and infrastructure 90 provide a link between the Internet 20 and wireless network 105. The wireless infrastructure 90 determines the most likely network for locating a given user and tracks the user as they roam between countries or networks. A message is then delivered to the mobile device 100 via wireless transmission, typically at a radio frequency (RF), from a base station in the wireless network 105 to the mobile device 100. The particular network 105 may be virtually any wireless network over which messages may be exchanged with a mobile communication device.

As shown in FIG. 1, a composed e-mail message 15 is sent by the e-mail sender 10, located somewhere on the Internet 20. This message 15 is normally fully in the clear and uses traditional Simple Mail Transfer Protocol (SMTP), RFC822 headers and Multipurpose Internet Mail Extension (MIME) body parts to define the format of the mail message. These techniques are all well known to those skilled in the art. The message 15 arrives at the message server 40 and is normally stored in a message store. Most known messaging systems support a so-called “pull” message access scheme, wherein the mobile device 100 must request that stored messages be forwarded by the message server to the mobile device 100. Some systems provide for automatic routing of such messages which are addressed using a specific e-mail address associated with the mobile device 100. In a preferred embodiment described in further detail below, messages addressed to a message server account associated with a host system such as a home computer or office computer which belongs to the user of a mobile device 100 are redirected from the message server 40 to the mobile device 100 as they are received.

Regardless of the specific mechanism controlling the forwarding of messages to the mobile device 100, the message 15, or possibly a translated or reformatted version thereof, is sent to the wireless gateway 85. The wireless infrastructure 90 includes a series of connections to wireless network 105. These connections could be Integrated Services Digital Network (ISDN), Frame Relay or T1 connections using the TCP/IP protocol used throughout the Internet. As used herein, the term “wireless network” is intended to include at least one of three different types of networks, those being (1) data-centric wireless networks, (2) voice-centric wireless networks and (3) dual-mode networks that can support both voice and data communications over the same physical base stations. Combined dual-mode networks include, but are not limited to, (1) Code Division Multiple Access (CDMA) networks, (2) the Groupe Special Mobile or the Global System for Mobile Communications (GSM) and the General Packet Radio Service (GPRS) networks, and (3) future third-generation (3G) networks like Enhanced Data-rates for Global Evolution (EDGE), integrated Digital Enhanced Network (iDEN), Evolution Data Optimized (EvDO), High-Speed Downlink Packet Access (HSDPA), Universal Mobile Telecommunications Systems (UMTS) or the like. Some older examples of data-centric network include the Mobitex™ Radio Network and the DataTAC™ Radio Network. Examples of older voice-centric data networks include Personal Communication Systems (PCS) networks like GSM, and TDMA systems.

FIG. 2 is a block diagram of a further example communication system including multiple networks and multiple mobile communication devices. The system of FIG. 2 is substantially similar to the FIG. 1 system, but includes a host system 300, a redirection program 45, a mobile device cradle 65, a wireless virtual private network (VPN) router 75, an additional wireless network 110 and multiple mobile communication devices 100. As described above in conjunction with FIG. 1, FIG. 2 represents an overview of a sample network topology. Although the encoded message processing systems and methods described herein may be applied to networks having many different topologies, the network of FIG. 2 is useful in understanding an automatic e-mail redirection system mentioned briefly above.

The central host system 300 will typically be a corporate office or other LAN, but may instead be a home office computer or some other private system where mail messages are being exchanged. Within the host system 300 is the message server 400, running on some computer within the firewall of the host system, that acts as the main interface for the host system to exchange e-mail with the Internet 20. In the system of FIG. 2, the redirection program 45 enables redirection of data items from the server 400 to a mobile communication device 100. Although the redirection program 45 is shown to reside on the same machine as the message server 400 for ease of presentation, there is no requirement that it must reside on the message server. The redirection program 45 and the message server 400 are designed to co-operate and interact to allow the pushing of information to mobile devices 100. In this installation, the redirection program 45 takes confidential and non-confidential corporate information for a specific user and redirects it out through the corporate firewall to mobile devices 100. A more detailed description of the redirection software 45 may be found in the commonly assigned U.S. Pat. No. 6,219,694 (“the '694 Patent”), entitled “System and Method for Pushing Information From A Host System To A Mobile Data Communication Device Having A Shared Electronic Address”, and issued to the assignee of the instant application on Apr. 17, 2001 which is hereby incorporated into the present application by reference. This push technique may use a wireless friendly encoding, compression and encryption technique to deliver all information to a mobile device, thus effectively extending the security firewall to include each mobile device 100 associated with the host system 300.

As shown in FIG. 2, there may be many alternative paths for getting information to the mobile device 100. One method for loading information onto the mobile device 100 is through a port designated 50, using a device cradle 65. This method tends to be useful for bulk information updates often performed at initialization of a mobile device 100 with the host system 300 or a computer 35 within the system 300. The other main method for data exchange is over-the-air using wireless networks to deliver the information. As shown in FIG. 2, this may be accomplished through a wireless VPN router 75 or through a traditional Internet connection 95 to a wireless gateway 85 and a wireless infrastructure 90, as described above. The concept of a wireless VPN router 75 is new in the wireless industry and implies that a VPN connection could be established directly through a specific wireless network 110 to a mobile device 100. The possibility of using a wireless VPN router 75 has only recently been available and could be used when the new Internet Protocol (IP) Version 6 (IPV6) arrives into IP-based wireless networks. This new protocol will provide enough IP addresses to dedicate an IP address to every mobile device 100 and thus make it possible to push information to a mobile device 100 at any time. A principal advantage of using this wireless VPN router 75 is that it could be an off-the-shelf VPN component, thus it would not require a separate wireless gateway 85 and wireless infrastructure 90 to be used. A VPN connection would preferably be a Transmission Control Protocol (TCP)/IP or User Datagram Protocol (UDP)/IP connection to deliver the messages directly to the mobile device 100. If a wireless VPN 75 is not available then a link 95 to the Internet 20 is the most common connection mechanism available and has been described above.

In the automatic redirection system of FIG. 2, a composed e-mail message 15 leaving the e-mail sender 10 arrives at the message server 400 and is redirected by the redirection program 45 to the mobile device 100. As this redirection takes place the message 15 is re-enveloped, as indicated at 80, and a possibly proprietary compression and encryption algorithm can then be applied to the original message 15. In this way, messages being read on the mobile device 100 are no less secure than if they were read on a desktop workstation such as 35 within the firewall. All messages exchanged between the redirection program 45 and the mobile device 100 preferably use this message repackaging technique. Another goal of this outer envelope is to maintain the addressing information of the original message except the sender's and the receiver's address. This allows reply messages to reach the appropriate destination, and also allows the “from” field to reflect the mobile user's desktop address.

Using the user's e-mail address from the mobile device 100 allows the received message to appear as though the message originated from the user's desktop system 35 rather than the mobile device 100.

With reference back to the port 50 and cradle 65 connectivity to the mobile device 100, this connection path offers many advantages for enabling one-time data exchange of large items. For those skilled in the art of personal digital assistants (PDAs) and synchronization, the most common data exchanged over this link is Personal Information Management (PIM) data 55. When exchanged for the first time this data tends to be large in quantity, bulky in nature and requires a large bandwidth to get loaded onto the mobile device 100 where it can be used on the road. This serial link may also be used for other purposes, including setting up a private security key 111 such as an S/MIME or PGP specific private key, the Certificate (Cert) of the user and their Certificate Revocation Lists (CRLs) 60. The private key is preferably exchanged so that the desktop 35 and mobile device 100 share one personality and one method for accessing all mail. The Cert and CRLs are normally exchanged over such a link because they represent a large amount of the data that is required by the device for S/MIME, PGP and other public key security methods. However, there are situations where a user does not have the ability to establish such a link to their desktop 35 in order to update the key store of the mobile device 100 with the appropriate private keys. In these situations, the system and method described herein allow the secure transfer of cryptographic information over a wireless link.

As depicted in FIG. 3, mobile communications device 100 includes a suitable RE antenna 102 for wireless communication to/from wireless network 20. Conventional RF, demodulation/modulation and decoding/coding circuits 104 are provided. As those in the art will appreciate, such circuits may involve possibly many digital signal processors (DSPs), microprocessors, filters, analog and digital circuits and the like. However, since such circuitry is well known in the art, it is not further described herein.

The mobile communications device 100 will also typically include a main control CPU 106 that operates under the control of a stored program in program memory 108, and which has access to data memory 110. CPU 106 also communicates with a conventional keyboard 112 and display 114 (for example, a liquid crystal display or LCD) and audio transducer or speaker 116. A portion of the data memory 310 is available for storing data required for decrypting encrypted messages, such as, for example, private keys, digital certificates, and the like. Suitable computer program executable code is stored in portions of the program memory 108 to constitute stored program logic for receiving and using new or added private keys and/or digital certificates or the like as described below (for example, via a wired serial I/O port or the wireless RF antenna 102).

As depicted in FIG. 1, a secure wired synchronization connection 26 (for example, between serial I/O ports of the user's base unit 24 and the wireless device 100) is typically provided for normal data synchronization purposes (for example, to synchronize databases in the two devices with respect to such things as calendars, to-do lists, task lists, address books, etc.). Part of prior data synchronization processes has included a program logic such as Cert Sync for maintaining synchronization between cryptographic message certificates. If a secure over the air (OTA) synchronization connection 28 is available, it may also be used by Cert Sync to maintain synchronization of cryptographic message certificates.

As previously described, there is a communications link (for example, depicted in dotted lines at 20 in FIG. 1) typically found between the device user's base unit 24 and a system message server 14. Accordingly, there is an existing communication path that may be utilized for passing synchronization data from the user's base unit 24 via channel 30, the server 14, Internet 12, wireless gateway 16 and wireless infrastructure 18 via the OTA synchronization connection 28.

As depicted in FIG. 4, the user's base unit 24 may be used to update the mobile wireless communications device 100 with information including, for example, private key information and digital certificate information. The user's base station 24 is typically a desktop PC, and may be of conventional hardware and operating system design. It will typically include desktop manager program logic 304 (in the form of, for example, executable computer program logic) for managing, among other things, a normal data synchronization connection to device 100. As previously mentioned, in the environment of mobile wireless communications systems, such a desktop manager may typically include logic for synchronizing cryptographic message certificates. Such logic is denoted here as Cert Sync.

E-mail messages generated using the S/MIME and PGP techniques may include encrypted information, a digital signature on the message contents, or both. In signed S/MIME operations the sender takes a digest of a message and signs the digest using the sender's private key. A digest is essentially a checksum, CRC or other preferably non-reversible operation such as a hash of the message, which is then signed. The signed digest is appended to the outgoing message, possibly along with the certificate of the sender and possibly any required certificates or CRLs. The receiver of this signed message must also take a digest of the message, compare this digest with the digest appended to the message, retrieve the sender's public key, and verify the signature on the appended digest. If the message content has been changed, the digests will be different or the signature on the digest will not verify properly. If the message is not encrypted, this signature does not prevent anyone from seeing the contents of the message, but does ensure that the message has not been tampered with and is from the actual person as indicated on the “from” field of the message.

The receiver may also verify the certificate and CRL if they were appended to the message. A certificate chain is a certificate along with a number of other certificates required to verify that the original certificate is authentic. While verifying the signature on a signed message, the receiver of the message will also typically obtain a certificate chain for the signing certificate and verify that each certificate in the chain was signed by the next certificate in the chain, until a certificate is found that was signed by a root certificate from a trusted source, such as, for example, a large Public Key Server (PKS) associated with a Certificate Authority (CA), such as, for example, Verisign or Entrust, both prominent companies in the field of public key cryptography. Once such a root certificate is found, a signature can be verified and trusted, since both the sender and receiver trust the source of the root certificate.

In encrypted S/MIME message operations, a one-time session key is generated and used to encrypt the body of the message, typically with a symmetric cipher, such as, for example, Triple DES. The session key is then encrypted using the receiver's public key, typically with a public key encryption algorithm like RSA. If the message is addressed to more than one receiver, the same session key is encrypted using the public key of each receiver. The encrypted message body, as well as all encrypted session keys, is sent to every receiver. Each receiver must then locate its own session key, possibly based on a generated Recipient Info summary of the receivers that may be attached to the message, and decrypt the session key using its private key. Once the session key is decrypted, it is then used to decrypt the message body. The S/MIME Recipient Info attachment can also specify the particular encryption scheme that must be used to decrypt the message. This information is normally placed in the header of the S/MIME message. Those skilled in the art will appreciate that these operations relate to an illustrative example of SIMIME messaging and its associated encoding operations, namely encryption. It will also be understood that the instant disclosure is in no way limited thereto.

FIG. 5 is an exemplary abbreviated flow diagram of a method for use in a system for handling electronic mail mismatches when searching for a recipient's certificate using a recipient address. According to this exemplary illustration, a user first enters an electronic messaging application 501 resident on or accessible to the device being used by the user. Such devices may include, for example, a mobile wireless communication device that is capable of supporting electronic mail functions, as discussed above. The user then enters a recipient address 503 in the appropriate field of the electronic mail message to be sent. The system then conducts a search for the recipient's certificate by attempting to locate the recipient address in certificates resident on the device 507. Alternatively, the system may be configured to search certificates stored on a server of the system. If the recipient address is found in a certificate available to the device 509, the user may continue with the electronic mailing process using the recipient's certificate 511. On the other hand, if no certificate containing the recipient address is found 509, the system and method according to an exemplary embodiment then searches for the recipient certificate using a canonical or generic domain name and/or a canonical or generic user name 513. For simplicity, the examples described herein refer generally to a canonical or generic domain name. However, it will be understood that the application applies equally to the use of a canonical or generic user name in place of a generic or canonical domain name, and to a combination of canonical or generic domain and user names. As described above, the canonical or generic domain name may be, for example, a lifelong address that is assigned to a person for the duration of their tenure with a specific agency, organization, company, or the like. If the certificate is found using the canonical or generic domain name 515, the user may continue the messaging process 511. If no certificate is found 515, a notification may be provided to the user that no certificate match for the address was found 517. While the electronic mail handling system and method is described herein with respect to processing at the electronic mail device itself, it will be understood that the system and method may be implemented by any suitable means, such as, for example, an e-mail server, or the like, and that the disclosure is directed to a system and method for handling electronic mail mismatches regardless of where the certificates are stored or which device(s) in the system implement the method.

FIG. 6 is an exemplary abbreviated flow diagram of an alternative method for use in a system for handling electronic mail mismatches when searching for a recipient's certificate using a recipient address. The exemplary method illustrated in FIG. 6 is similar to that of FIG. 5. However, in the FIG. 6 embodiment, the search for the recipient certificate is conducted using the recipient address and canonical or generic domain name concurrently. According to this exemplary embodiment, the user enters the electronic messaging application 601, and enters recipient e-mail address in the appropriate field 603. The system then conducts a search for the recipient's certificate by attempting to locate the recipient address in certificates resident on or accessible to the device and by attempting to locate a canonical or generic domain name associated with the recipient concurrently 605. If a certificate is found 607, the user may continue the messaging process 609. If no match is found 607, a notification may be provided to the user of a mismatch 611. As discussed above, searching for both the recipient address and a canonical or generic domain name associated with the recipient concurrently may provide efficiencies of speed and processing overhead.

FIG. 7 is an exemplary abbreviated flow diagram of a method used in a system for handling electronic mail mismatches when searching for a sender's certificate using a sender's address. The process illustrated in FIG. 7 is similar to that illustrated in FIG. 5, with the certificate search being based on the sender's e-mail address or canonical or generic domain name associated with the sender. According to this exemplary embodiment, after a user receives an electronic message 701, the system institutes a search for the sender's certificate based on the sender's e-mail address that was used to send the message 703. If a corresponding certificate is found based on the sender's address 705, the user may continue the process of verifying the user's information, such as, for example, the user's digital signature 709. If no certificate corresponding to the sender is found 705, the system may then search for the sender certificate using a canonical or generic domain name associated with the sender's lifelong address 711. If a certificate associated with the sender is found 713, the user may then continue the processing of the received mail 709. If no match is found 713, the user may be notified of a mismatch 715.

While the electronic mail handling system and method is described herein with respect to processing at the electronic mail device itself, it will be understood that the system and method may be implemented by any suitable means, such as, for example, an e-mail server, or the like, and that the disclosure is directed to a system and method for handling electronic mail mismatches regardless of where the certificates are stored or which device(s) in the system implement the method.

FIG. 8 is an exemplary abbreviated flow diagram of an alternative method for use in a system for handling electronic mail mismatches when searching for a sender's certificate using a sender's address. The exemplary method illustrated in FIG. 8 is similar to that of FIG. 7. However, in the FIG. 8 embodiment, the search for the sender's certificate is conducted using the sender's address and canonical or generic domain name concurrently. According to the example illustrated in FIG. 8, the user receives an electronic message 801. The system then conducts a search for the sender's certificate by attempting to locate the sender's address in certificates resident on or accessible to the device and by attempting to locate a canonical or generic domain name associated with the sender concurrently 803. If a certificate is found 805, the user may continue the messaging process 809. If no match is found 805, a notification may be provided to the user of a mismatch 807. As discussed above, searching for both the sender's address and a canonical or generic domain name associated with the sender concurrently may provide efficiencies of speed and processing overhead.

As discussed herein, the device within the system that provides the electronic message mismatch handling as described with respect to the illustrative embodiments discussed in detail above, may be any device within the system, including, but not limited to the electronic messaging device itself, a server within the system, or the like.

Furthermore, as discussed above, the system may be configured to search for a canonical or generic user name in place of (or in addition to) a canonical or generic domain name to search for a certificate or to resolve a mismatch. Typically, e-mail addresses are composed of two main parts—the user name and the domain name, for example, user name@domain name. The examples set forth above are described with respect to using a canonical or generic domain name when searching for a certificate or when attempting to resolve a mismatch. However, it is also contemplated that a canonical or generic user name may be used to search for a certificate or resolve a mismatch. For example, the user name may change as an employee moves or is assigned to different departments within an agency. For instance, the lifelong address may be John.Doe@agency.gov, but the user name may change as John Doe is assigned to different offices or departments within the agency, for example,

-   -   John.Doe_Legal@agency.gov,     -   John.Doe_accounting@agency.gov,     -   John.Doe_Solicitor@agency.gov, etc.

In this example, to search for a certificate or to resolve a mismatch, the system may utilize a canonical or generic user name, e.g., by truncating the portion of the user name following the underscore in the examples set forth above. The system administrator would be able to set the rules for using canonical and/or generic user names or domain names based on the structure of the address via IT policy. FIG. 9 is an exemplary screen shot illustrating an exemplary administrator screen that may be used to assign a generic or canonical name to a user's certificate. As illustrated in this exemplary screen shot, the system administrator, for example, may be provided with the ability to enter data in a field that reflects a long-lived (e.g., canonical or generic name) associated with a particular user. The screen shot also provides a rule associated with the field relating to the use of canonical or generic names for long-lived addresses.

In yet a further exemplary implementation, using a combination of canonical or generic domain names and user names to search for a certificate or to resolve a mismatch may also be used to provide a more robust solution.

It will be understood that the methods described herein for locating a certificate of a sender or recipient of an electronic message may be embodied in executable program logic. The executable program logic may reside on the device or on a server within the system that processes electronic messages. Moreover, the executable program logic may be transmitted or received by various devices and circuits within devices of the system on a carrier wave modulated by a signal representing the corresponding program logic or executable code, or the like, or any other suitable communication medium.

While the foregoing has been described in conjunction with specific exemplary embodiments, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, the exemplary embodiments set forth herein are intended to be illustrative, not limiting. Various changes may be made without departing from the true spirit and full scope of the invention as defined in the appended claims. 

1. A method, by a wireless communication device, to resolve address mismatches when searching for a public key certificate of a user, the method comprising: searching for the public key certificate using an email address of the user, the email address having a first username and a first domain name; receiving a canonical or generic domain name; substituting the canonical or generic domain name in the email address of the user to form a second email address; and searching for the certificate using the second email address, wherein the canonical or generic domain name is supplied to the wireless communication device according to an IT policy in place on a system for the device.
 2. The method of claim 1, further comprising: finding a certificate containing the second email address.
 3. The method of claim 2, further comprising: encrypting a message using the found certificate; and sending the encrypted message to the user.
 4. The method of claim 2, further comprising: verifying a signature of the user using the found certificate, wherein the signature occurs in an electronic message received from the user.
 5. A wireless communication device configured to resolve address mismatches when searching for a public key certificate of a user, wherein a processor of the device is configured to: search for the public key certificate using an email address of the user, the email address having a first username and a first domain name; receive a canonical or generic domain name; substitute the canonical or generic domain name in the email address of the user to form a second email address; and search for the certificate using the second email address, wherein the canonical or generic domain name is supplied to the wireless communication device according to an IT policy in place on a system for the device.
 6. The device of claim 5, wherein the processor is further configured to: find a certificate containing the second email address.
 7. The device of claim 6, wherein the processor is further configured to: encrypt a message using the found certificate; and send the encrypted message to the user.
 8. The device of claim 6, wherein the processor is further configured to: verify a signature of the user using the found certificate, wherein the signature occurs in an electronic message received from the user.
 9. A non-transitory computer-readable storage medium for storing instructions for resolving address mismatches when searching for a public key certificate of a user, the instructions for execution by a processor of a wireless communication device, wherein the instructions configure the processor to: search for the public key certificate using an email address of the user, the email address having a first username and a first domain name; receive a canonical or generic domain name; substitute the canonical or generic domain name in the email address of the user to form a second email address; and search for the certificate using the second email address, wherein the canonical or generic domain name is supplied to the wireless communication device according to an IT policy in place on a system for the device.
 10. The medium of claim 9, wherein the instructions further configured the processor to: find a certificate containing the second email address.
 11. The medium of claim 10, wherein the instructions further configured the processor to: encrypt a message using the found certificate; and send the encrypted message to the user.
 12. The medium of claim 10, wherein the instructions further configured the processor to: verify a signature of the user using the found certificate, wherein the signature occurs in an electronic message received from the user. 